package com.tk.exam.dao;

import com.github.pagehelper.PageInfo;
import com.tk.exam.mapper.StuScoreExtMapper;
import com.tk.exam.vo.paper.SearchPaperListResp;
import com.tk.exam.vo.score.SearchStuScoreListResp;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class StuScoreDao {
    @Autowired
    private StuScoreExtMapper stuScoreExtMapper;
    public PageInfo<SearchStuScoreListResp> searchStuScoreListByPageWithPage(Integer examId){
        return new PageInfo<SearchStuScoreListResp>(stuScoreExtMapper.searchStuScoreListByPage(examId));
    }
}
